-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Conversation
The validation on windows failed during the build... I think it might need to be restarted. |
Added unit tests for imrotate Added Rotate to transforms Added RandomRotation to transforms Added transforms tests
50abb88
to
0e68b29
Compare
@szha I opened this pull request 2 moths ago, I'm wondering if it is an useful feature to be added. Otherwise I'm going to close it. |
This is a very useful feature, thanks! @reminisce @eric-haibin-lin @apeforest could you review please? |
@lkubin Can you please rebase/merge to fix the conflicts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me! Can you resolve the conflicts?
Co-authored-by: Douglas Andrade <[email protected]>
We solved the conflicts and we did the changes that you were suggesting. Let us know if we miss something! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for your contribution.
@mxnet-label-bot add [pr-awaiting-merge] |
@lkubin Seems like the ci is consistently failing on windows machines, can you rebase to master and I can look into the problem if it's still failing |
@zhreshold I just merged master into this branch. I'm not sure what's happening with the CI on windows, it seems failing during compiling: I don't think the failure is related to this PR. |
@zhreshold I see that tests on windows are still failing. I cannot understand why though. |
@zhreshold it seems that also the CI on ubuntu on GPU is failing... the process got killed with SIGTERM, maybe a timer expired? |
Restarted the jobs, let's wait for another round |
@zhreshold It seems that now only linux GPU tests are not passing. Can you restart only those tests to see if they will pass the CI? |
restarted |
Guys, the CI for Unix still failing, this time with |
I think someting is broken in CI which is related to recent deprecation of python2.7 |
@zhreshold I think that now the build for R is failing... |
@lkubin we had to restart the CI last night. Ive restarted the last two CI runs. Hopefully they'll pass now! |
All green, merged! Thanks guys 😸 |
* Added function for image rotation (imrotate) using BilinearSampler Added unit tests for imrotate Added Rotate to transforms Added RandomRotation to transforms Added transforms tests * Made rotations generic - any angle * Added tests. Removed useless docstrings. Updated API. Co-authored-by: Douglas Andrade <[email protected]> Co-authored-by: Douglas Coimbra de Andrade <[email protected]>
* Added function for image rotation (imrotate) using BilinearSampler Added unit tests for imrotate Added Rotate to transforms Added RandomRotation to transforms Added transforms tests * Made rotations generic - any angle * Added tests. Removed useless docstrings. Updated API. Co-authored-by: Douglas Andrade <[email protected]> Co-authored-by: Douglas Coimbra de Andrade <[email protected]>
Description
Checklist
Essentials
Changes
imrotate
, based on BilinearSampler function. Tested in tests/python/unittest/test_image.pyrandom_rotate
. Tested in tests/python/unittest/test_image.pyComments
All the implemented functionalities are based on
imrotate
function. The shape of the output of this function is the same shape of the input, thus it can be used inside a transformer.It supports 3 behaviors: